@layout("/common/_container.html",{css:["/assets/common/module/city-picker/city-picker.css"],js:["/assets/common/module/city-picker/city-picker.data.js","/assets/common/module/ueditor/ueditor.config.js","/assets/common/module/ueditor/ueditor.all.js","/assets/modular/recy/integrateInfo/integrateInfo_add.js","/assets/common/libs/rapid-validator/prototype_for_validation.js","/assets/common/libs/rapid-validator/validation_cn.js","/assets/common/libs/rapid-validator/tooltips.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-container" style="">
    <form id="integrateInfoForm" lay-filter="integrateInfoForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
        <input name="id" type="hidden"/>
        <div class='layui-form-item'>

            <div class="layui-inline">
                <label class="layui-form-label">区域</label>
                <div class="layui-input-block">
                    <input style="width:180px" id="area" name="area" placeholder="站点地址" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">所在村</label>
                <div class="layui-input-block">
                    <select name="areaNext" id="areaNext" lay-search lay-filter="areaFilter">

                    </select>
                    <input type="hidden" name="areaCode" id="areaCode" value="">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">积分类别</label>
                <div class="layui-input-block">
                    <#dictSelector theme="simple" code="integrate_type" name="integrateType" id="integrateType" placeholder="积分类别"/>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">垃圾类别</label>
                <div class="layui-input-block">
                    <select name="wasteTypeId" id="wasteTypeId">
                        <option value="">不区分类别</option>
                        @for(wasteType in wasteTypeList){
                        <option value="${wasteType.id}">${wasteType.typeName}</option>
                        @}
                    </select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">积分值</label>
                <div class="layui-input-block">
                    <input style="width:181px" id="integrateVal" name="integrateVal" placeholder="积分值" type="text" class="layui-input   required validate-digits" />
                    <div style="line-height:2">
                        重量单位： 克 / 积分，次数单位： 积分 / 次
                    </div>
                </div>
            </div>
            <!--<div class="layui-inline">
                <label class="layui-form-label">垃圾站点</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="wasteStationId" name="wasteStationId" placeholder="垃圾站点" type="text" class="layui-input   required" />
                </div>
            </div>-->
            <!--<div class="layui-inline">
                <label class="layui-form-label">创建时间</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="createTime" name="createTime" placeholder="创建时间" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">创建人</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="userId" name="userId" placeholder="创建人" type="text" class="layui-input   required" />
                </div>
            </div>-->
        </div>
        <div class="layui-form-item text-right">
            <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
            <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog" id="backupPage">返回</button>
        </div>
    </form>
</div>

@}